package com.ztjy.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

/**
 * c_details 采购明细表
 * @author 
 */
@Data
public class CDetails implements Serializable {
    /**
     * 详情编号，主键，自动增长
     */
    private Integer detailsId;

    /**
     * 采购单编号，外键
     */
    private String purchaseId;

    /**
     * 采购商品的数量
     */
    private Integer count;

    /**
     * 商品id，外键
     */
    private Integer productId;
    /**
     * 进价
     */
    private BigDecimal purchasePrice;

    /**
     * 总金额
     */
    private BigDecimal totalMoney;

    private CPurchase purchases;//采购单表

    private CProduct products;//商品表

    private static final long serialVersionUID = 1L;
}